package com.qys.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库记录对象 erp_delivery_log
 * 
 * @author qys
 * @date 2021-08-22
 */
public class DeliveryLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long logId;

    /** 出库ID */
    @Excel(name = "出库ID")
    private Long delId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Integer logCount;

    /** 状态（0成功 1失败） */
    @Excel(name = "状态", readConverterExp = "0=成功,1=失败")
    private String logStatus;

    private Object product;



    public void setLogId(Long logId)
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setDelId(Long delId) 
    {
        this.delId = delId;
    }

    public Long getDelId() 
    {
        return delId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setLogCount(Integer logCount) 
    {
        this.logCount = logCount;
    }

    public Integer getLogCount() 
    {
        return logCount;
    }
    public void setLogStatus(String logStatus) 
    {
        this.logStatus = logStatus;
    }

    public String getLogStatus() 
    {
        return logStatus;
    }

    public Object getProduct() { return product; }

    public void setProduct(Object product) { this.product = product; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("delId", getDelId())
            .append("productId", getProductId())
            .append("logCount", getLogCount())
            .append("logStatus", getLogStatus())
            .append("product", getProduct())
            .toString();
    }
}
